/*************************************************************\
	Doom Builder Game Configuration for (Hexen format)
\*************************************************************/

// This is required to prevent accidental use of a different configuration
type = "Doom Builder 2 Game Configuration";

// This is the title to show for this game
game = "SobrietyEngine-(UDMF)";

// This is the simplified game engine/sourceport name
engine = "SobrientyEngine";

// The format interface handles the map data format
formatinterface = "UniversalMapSetIO";

// Default lump name for new map
defaultlumpname = "map1";

// Default testing parameters
testparameters = "";

// Default nodebuilder configurations
defaultsavecompiler = "";
defaulttestcompiler = "";

// Decorate actors to include depending on actor game property
decorategames = "doom";

// Skill levels
skills
{
	include("Includes\\Doom_misc.cfg", "skills");
}

// When this is set to true, sectors with the same tag will light up when a line is highlighted
linetagindicatesectors = false;

// Special linedefs
// See linedefflags
soundlinedefflag = "blocksound";
singlesidedflag = "blocking";
doublesidedflag = "twosided";
impassableflag = "blocking";
upperunpeggedflag = "dontpegtop";
lowerunpeggedflag = "dontpegbottom";

// Door making
makedoortrack = "DOORTRAK";
makedooraction = 202;			// See linedeftypes
makedoorarg0 = 0;
makedoorarg1 = 16;
makedoorarg2 = 0;
makedoorarg3 = 3;
makedoorarg4 = 0;

// Generalized actions
generalizedlinedefs = false;
generalizedsectors = true;

// Texture loading options
mixtexturesflats = true;
defaulttexturescale = 1.0f;
defaultflatscale = 1.0f;
scaledtextureoffsets = true;


// Some common settings
include("Includes\\SE_Common.cfg");


// Default flags for first new thing
defaultthingflags
{
	include("Includes\\SE_misc.cfg", "defaultthingflags_udmf");
}


// Texture sources
textures
{
	include("Includes\\Doom_misc.cfg", "textures");
	include("Includes\\SE_misc.cfg", "textures");
}

// Patch sources
patches
{
	include("Includes\\Doom_misc.cfg", "patches");
}

// Sprite sources
sprites
{
	include("Includes\\Doom_misc.cfg", "sprites");
}

// Flat sources
flats
{
	include("Includes\\Doom_misc.cfg", "flats");
}

// Colormap sources
colormaps
{
	include("Includes\\Boom_misc.cfg", "colormaps");
}


/*
GAME DETECT PATTERN
Used to guess the game for which a WAD file is made.

1 = One of these lumps must exist
2 = None of these lumps must exist
3 = All of these lumps must exist
*/
gamedetect
{
	TEXTMAP = 3;
	ENDMAP = 3;
}


maplumpnames
{
	include("Includes\\UDMF_misc.cfg", "udmfmaplumpnames_begin");
	include("Includes\\SE_misc.cfg", "udmfmaplumpnames");
	include("Includes\\UDMF_misc.cfg", "udmfmaplumpnames_end");
}


universalfields
{
	include("Includes\\SE_misc.cfg", "universalfields");
}


// DEFAULT SECTOR BRIGHTNESS LEVELS
sectorbrightness
{
	include("Includes\\SE_misc.cfg", "sectorbrightness");
}


// Generalized sector types
gen_sectortypes
{
	include("Includes\\ZDoom_generalized.cfg", "gen_sectortypes");
}


// SECTOR TYPES
sectortypes
{
	include("Includes\\Doom_sectors.cfg");
	include("Includes\\ZDoom_sectors.cfg", "doom");
	include("Includes\\ZDoom_sectors.cfg", "hexen");
}


// LINEDEF FLAGS
linedefflags
{
	include("Includes\\UDMF_misc.cfg", "linedefflags");
	include("Includes\\SE_misc.cfg", "linedefflags_udmf");
}


// LINEDEF ACTIVATIONS
linedefactivations
{
	include("Includes\\UDMF_misc.cfg", "linedefactivations");
	include("Includes\\SE_misc.cfg", "linedefactivations_udmf");
}


// LINEDEF TYPES
linedeftypes
{
	include("Includes\\Hexen_linedefs.cfg");
	include("Includes\\ZDoom_linedefs.cfg", "hexen");
}


// THING FLAGS
thingflags
{
	include("Includes\\UDMF_misc.cfg", "thingflags");
	include("Includes\\SE_misc.cfg", "thingflags_udmf");
}


// Things flags masks
include("Includes\\Hexen_misc.cfg", "thingflagsmasks");


// THING TYPES
thingtypes
{
	include("Includes\\SE_things.cfg");
}


// ENUMERATIONS
// These are enumerated lists for linedef types and UDMF fields.
enums
{
	include("Includes\\Doom_misc.cfg", "enums");
	include("Includes\\SE_misc.cfg", "enums");
}


// Default thing filters
// (these are not required, just usefull for new users)
thingsfilters
{
	include("Includes\\SE_misc.cfg", "thingsfilters_udmf");
}


// Default texture sets
// (these are not required, but usefull for new users)
//texturesets
//{
//	include("Includes\\Doom_texturesets.cfg");
//}
